package com.css.apps.base.common.sync.client;

import java.util.List;

import com.css.apps.base.common.sync.client.service.SyncService;
import com.css.apps.base.common.sync.model.SyncUser;
import com.css.util.ListUtil;

public class SyncDemo {

	public static void main(String[] args) {
		SyncClient client = new SyncClient();
		List<SyncService> services = client.getServices("sync");
		if(!ListUtil.isLstEmpty(services)) {
			SyncUser su = new SyncUser();
			su.setRealName("test1");
			for (SyncService service : services) {
				service.syncUser(su);
			}
		}
	}
}
